const MongoClient = require('mongodb').MongoClient,
    log = require('../util/log')

MongoClient.connect('mongodb://etourly:yoyo9876@123.56.115.107:27017/etourly', {
    useNewUrlParser: true
}, (err, client) => {
    if (err) {
        log(err)
        return
    }
    exports.db = client.db('etourly')
})